type HttpResponse native;

export method HttpResponse.status-code: Number
    native '__SysHttpResStatus';

export method HttpResponse.header: Map[String,List[String]]
    native '__SysHttpResHeader';

export method HttpResponse.body: Bytes
    native '__SysHttpResBody';

export function http-get:
    &(Url) => Async[HttpResponse,Error]
    native '__SysHttpGet';
